package course.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author HLF
 * @since 2022-06-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 管理员id
     */
    private Integer aid;

    /**
     * 管理员账号
     */
    private String auser;

    /**
     * 管理员密码
     */
    private String apassword;

    /**
     * 管理员头像地址
     */
    private String atar = "atar/0.jpg";//默认头像

    public Admin(String auser, String apassword) {
        this.auser = auser;
        this.apassword = apassword;
    }
}
